package com.ruoyi.equ.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 维修工单对象 equ_repair
 * 
 * @author ruoyi
 * @date 2025-11-05
 */
public class EquRepair extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维修工单id） */
    @Excel(name = "维修工单id）")
    private Long repairId;

    /** 关联资产id */
    @Excel(name = "关联资产id")
    private Long assetId;

    /** 故障信息 */
    @Excel(name = "故障信息")
    private String faultInfo;

    /** 维修执行信息 */
    @Excel(name = "维修执行信息")
    private String repairExec;

    /** 维修验收结果 */
    @Excel(name = "维修验收结果")
    private String repairCheck;

    /** 工单最终状态 */
    @Excel(name = "工单最终状态")
    private String orderStatus;

    /** 工单闭环时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "工单闭环时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date closeTime;

    /** 附件链接 */
    @Excel(name = "附件链接")
    private String fileUrls;

    public void setRepairId(Long repairId) 
    {
        this.repairId = repairId;
    }

    public Long getRepairId() 
    {
        return repairId;
    }

    public void setAssetId(Long assetId) 
    {
        this.assetId = assetId;
    }

    public Long getAssetId() 
    {
        return assetId;
    }

    public void setFaultInfo(String faultInfo) 
    {
        this.faultInfo = faultInfo;
    }

    public String getFaultInfo() 
    {
        return faultInfo;
    }

    public void setRepairExec(String repairExec) 
    {
        this.repairExec = repairExec;
    }

    public String getRepairExec() 
    {
        return repairExec;
    }

    public void setRepairCheck(String repairCheck) 
    {
        this.repairCheck = repairCheck;
    }

    public String getRepairCheck() 
    {
        return repairCheck;
    }

    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }

    public void setCloseTime(Date closeTime) 
    {
        this.closeTime = closeTime;
    }

    public Date getCloseTime() 
    {
        return closeTime;
    }

    public void setFileUrls(String fileUrls) 
    {
        this.fileUrls = fileUrls;
    }

    public String getFileUrls() 
    {
        return fileUrls;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("repairId", getRepairId())
            .append("assetId", getAssetId())
            .append("faultInfo", getFaultInfo())
            .append("repairExec", getRepairExec())
            .append("repairCheck", getRepairCheck())
            .append("orderStatus", getOrderStatus())
            .append("closeTime", getCloseTime())
            .append("fileUrls", getFileUrls())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
